package com.seata.cloud;

import com.seata.cloud.dto.OrderDTO;
import com.seata.cloud.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "seata-order-provider",path = "/order")
public interface OrderFacede {

	/**
	 * 创建订单
	 */
	@PostMapping("/create")
	Result create(@RequestBody OrderDTO order);

}
